package com.empire.module.member.controller.admin.warninggather.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 聚集预警主表（1条记录对应1次聚集事件） Response VO")
@Data
@ExcelIgnoreUnannotated
public class WarningGatherRespVO {

    @Schema(description = "聚集预警ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11457")
    @ExcelProperty("聚集预警ID")
    private Long id;

    @Schema(description = "预警条件ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18678")
    @ExcelProperty("预警条件ID")
    private Long warningConditionId;

    @Schema(description = "聚集条件名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("聚集条件名称")
    private String gatherName;

    @Schema(description = "聚集地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "重庆路1号")
    @ExcelProperty("聚集条件名称")
    private String gatherAddress;

    @Schema(description = "聚集开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("聚集开始时间")
    private LocalDateTime startTime;

    @Schema(description = "聚集结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("聚集结束时间")
    private LocalDateTime endTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "聚集人数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("聚集人数")
    private Integer warnPersonCount;

    @Schema(description = "阅读状态;0-有未读，1-阅读完成", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isRead;

}